<!DOCTYPE html>
<html>
<head>
  	<#import "../common/common.macro.ftl" as netCommon>
	<@netCommon.commonStyle />
	<!-- DataTables -->
  	<link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
    <!-- daterangepicker -->
    <link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.css">
    <title>${I18n.admin_name}</title>
</head>
<body class="hold-transition skin-blue sidebar-mini <#if cookieMap?exists && cookieMap["xxljob_adminlte_settings"]?exists && "off" == cookieMap["xxljob_adminlte_settings"].value >sidebar-collapse</#if>">
<div class="wrapper">
	<!-- header -->
	<@netCommon.commonHeader />
	<!-- left -->
	<@netCommon.commonLeft "long" />
	
	<!-- Content Wrapper. Contains page content -->
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>${I18n.long_manage}</h1>
		</section>
		
		<!-- Main content -->
	    <section class="content">
	    	<div class="row">
                <div class="col-xs-3">
                    <div class="input-group">
                        <span class="input-group-addon">${I18n.long_jobClass}</span>
                        <select class="form-control" id="jobClass" >
                            <option value="-1" >${I18n.system_all}</option>
                            <#if jobClassList?exists && jobClassList?size gt 0>
                                <#list jobClassList as item>
                                    <option value="${item.val_id}"} >${item.val_name}</option>
                                </#list>
                            </#if>
                        </select>
                    </div>
                </div>
                <div class="col-xs-2">
                    <div class="input-group">
                        <span class="input-group-addon">${I18n.long_jobCode}</span>
                        <input type="text" class="form-control" id="jobCode" autocomplete="on" >
                    </div>
                </div>

                <div class="col-xs-4">
                    <div class="input-group">
                		<span class="input-group-addon">
	                  		${I18n.long_jobTime}
	                	</span>
                        <input type="text" class="form-control" id="jobTime" readonly >
                    </div>
                </div>

				<div class="col-xs-2">
					<div class="input-group">
						<span class="input-group-addon">${I18n.long_result}</span>
						<select class="form-control" id="jobResult" >
							<option value="-1" >${I18n.system_all}</option>
							<#if jobResultList?exists && jobResultList?size gt 0>
								<#list jobResultList as item>
									<option value="${item.val_id}"} >${item.val_name}</option>
								</#list>
							</#if>
						</select>
					</div>
				</div>

	            <div class="col-xs-1">
	            	<button class="btn btn-block btn-info" id="searchBtn">${I18n.system_search}</button>
	            </div>
				<div class="col-xs-2">
					<button class="btn btn-block btn-info" id="excelBtn">${I18n.system_excel}</button>
				</div>
          	</div>
	    	
			<div class="row">
				<div class="col-xs-12">
					<div class="box">
			            <div class="box-body" >
			              	<table id="long_list" class="table table-bordered table-striped" width="100%" >
				                <thead>
					            	<tr>
                                        <th name="id" >ID</th>
                                        <th name="jobClass" >${I18n.long_jobClass}</th>
					                  	<th name="jobCode" >${I18n.long_jobCode}</th>
                                        <th name="jobTime" >${I18n.long_jobTime}</th>
										<th name="jobResult" >${I18n.long_result}</th>
										<th name="jobResultMessage" >${I18n.long_jobResultMessage}</th>
					                </tr>
				                </thead>
				                <tbody></tbody>
				                <tfoot></tfoot>
							</table>
						</div>
					</div>
				</div>
			</div>
	    </section>
	</div>
	
	<!-- footer -->
	<#--<@netCommon.commonFooter />-->
</div>
<@netCommon.commonScript />
<!-- DataTables -->
<script src="${request.contextPath}/static/adminlte/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>

<script src="${request.contextPath}/static/adminlte/bower_components/moment/moment.min.js"></script>
<script src="${request.contextPath}/static/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
<script src="${request.contextPath}/static/js/long.index.1.js"></script>
</body>
</html>
